From: Colin Walters Date: Mon, 24 Jul 2023 12:48:51 +0000 (-0400) Subject: sysroot: Add a bit more error prefixing X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2^2~40^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=70d790abeab6e8b6a0b7fe20f8cdd80af7028538;p=ostree.git sysroot: Add a bit more error prefixing While an error message I saw was pretty clear, this would be even more explicit. --- diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c index 68dddf4e..8bcc2f73 100644 --- a/src/libostree/ostree-sysroot.c +++ b/src/libostree/ostree-sysroot.c @@ -964,6 +964,8 @@ ostree_sysroot_load (OstreeSysroot *self, GCancellable *cancellable, GError **er static gboolean ensure_repo (OstreeSysroot *self, GError **error) { + GLNX_AUTO_PREFIX_ERROR ("Opening sysroot repo", error); + if (self->repo != NULL) return TRUE; if (!ensure_sysroot_fd (self, error)) @@ -1002,6 +1004,8 @@ ensure_repo (OstreeSysroot *self, GError **error) gboolean ostree_sysroot_initialize (OstreeSysroot *self, GError **error) { + GLNX_AUTO_PREFIX_ERROR ("Initializing sysroot", error); + if (!ensure_sysroot_fd (self, error)) return FALSE;